mui('.sn-switch-header').on('tap','div',function(event){
	console.log(event);
	mui('.sn-switch-header div').each(function(){
		this.classList.remove('active');
	})
	event.detail.target.classList.add('active');
	var itemNum = event.detail.target.className.indexOf('item1');
	console.log(itemNum)
	mui('.sn-switch-content .item').each(function(){
		this.classList.remove('active');
	})
	if(itemNum === -1){
		mui('.sn-switch-content .over')[0].classList.add('active');
	}else{
		mui('.sn-switch-content .begin')[0].classList.add('active');
	}
})
